
from django.conf.urls import url

from . import views

urlpatterns = [
    # 子路由---qq/login
    url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qqlogin'),

    # 回调网址
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view()),

    # weibo/login
    url(r'^weibo/login/$', views.WeiboAuthURLView.as_view(), name='weibologin'),

    # 微博回调网址
    url(r'^sina_callback/$', views.WeiboAuthUserView.as_view()),
]
